package com.think.teaching.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.ActionType;
import com.think.teaching.model.ActionType;


/**
 * 事件类型
 * @author 赵兴
 * 2020-11-12
 */
public interface ActionTypeService extends IService<ActionType>
{
	ActionType AddActionType(ActionType actionType);

	ActionType UpdateActionType(ActionType actionType);

	ActionType GetActionType(Integer id,Boolean withoutBan);

	List<ActionType> ListActionTypeSearch(String key , Integer type, Boolean withoutBan);

	ActionType SetActionTypeState(Integer id, Integer state);

	IPage<ActionType> ListActionTypeWithType( Integer count, Integer page, Integer type,
			Boolean withoutDelete);
	
	ActionType GetActionTypeByType(Integer type);
	
}
